翻訳と辞書
Words near each other
・ Single-player video game
・ Single-point locking
・ Single-point urban interchange
・ Single-port laparoscopy
・ Single-precision floating-point format
・ Single-price auction
・ Single-purpose
・ Single-reed instrument
・ Single-root IOV
・ Single suiter
・ Single Supervisory Mechanism
・ Single supplement
・ Single Swing
・ Single system
・ Single system image
Single Table Inheritance
・ Single tax
・ Single Tax League
・ Single tax party
・ Single Tear
・ Single Top 100
・ Single track
・ Single track (mountain biking)
・ Single transferable vote
・ Single transverse palmar crease
・ Single umbilical artery
・ Single UNIX Specification
・ Single use components
・ Single Use Medical Device Reprocessing
・ Single use systems


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Single Table Inheritance : ウィキペディア英語版
Single Table Inheritance
Single table inheritance is a way to emulate object-oriented inheritance in a relational database. When mapping from a database table to an object in an object-oriented language, a field in the database identifies what class in the hierarchy the object belongs to.〔Martin Fowler ''Patterns of Enterprise Application Architecture'' (2003), p. 278〕 All fields of all the classes are stored in the same table, hence the name "Single Table Inheritance". In Ruby on Rails the field in the table called 'type' identifies the name of the class. In Hibernate (Java) and Entity Framework this pattern is called Table-Per-Class-Hierarchy and Table-Per-Hierarchy (TPH) respectively.,〔(). ''Implementing Inheritance with the Entity Framework 6 in an ASP.NET MVC 5 Application (11 of 12)'', Retrieved November 3, 2015〕〔(), ''Hibernate ORM documentation (5.0), Chapter 9. Inheritance mapping'', Retrieved November 3, 2015〕 and the column containing the class name is called the Discriminator column.
==See also==

* Object-relational mapping
* ActiveRecord (Rails)

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Single Table Inheritance」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.